package com.gll.dao;

import com.gll.pojo.Pagination;
import com.gll.pojo.Product;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface ProductMapper {
    public List<Product> selProduct(Pagination<Product> pagination);

    long selCount(Pagination<Product> page);
}
